home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Gamer Resource Kit
/
Hardcore Gamer Resource Kit - Disc 1.iso
/
console
/
sniper-zoom1.zip
/
zoom.rc
< prev
Wrap
Text File
|
1998-01-04
|
2KB
|
57 lines
// Zoom script for Quake II by Adonnai
// mailto:mental@internexus.net
// =======================================
// This script creates zooming functions
// that include 3 zoom levels and
// crosshair changing with zoom factor.
// =======================================
// Setup
// =======================================
set hand_old $hand
// Change bindings to the keys you like
// =======================================
// Key cycles through zoom settings
bind "KP_PGUP" "zoom"
// Key jumps to zoom factor x1 while held
bind "KP_DEL" "+zoom_x1"
// Key jumps to zoom factor x3 while held
bind "KP_SLASH" "+zoom_x3"
// Key zooms then fires when released (CTF)
bind "KP_END" "+zoom_fire"
// Key sets sniperfire zoom factor to x1
bind "i" "alias +zoom_fire zoomx1;echo Sniperfire Factor =x1="
// Key sets sniperfire zoom factor to x2
bind "o" "alias +zoom_fire zoomx2;echo Sniperfire Factor =x2="
// Key sets sniperfire zoom factor to x3
bind "p" "alias +zoom_fire zoomx3;echo Sniperfire Factor =x3="
// Aliases for factor x1/x3 keys
// =======================================
alias +zoom_x1 "zoomx1"
alias -zoom_x1 "zoomx0"
alias +zoom_x3 "zoomx3"
alias -zoom_x3 "zoomx0"
alias +zoom_fire "zoomx3"
alias -zoom_fire "+attack;wait;zoomx0;wait;-attack"
// Aliases for zoom cycling
// =======================================
alias zoom "zoomx1"
alias zoomx1 "fov 46;m_pitch 0.015;m_yaw 0.015;echo Zoom Factor =x1=;set crosshair 3;set hand $hand_old;alias zoom zoomx2"
alias zoomx2 "fov 24;m_pitch 0.010;m_yaw 0.010;echo Zoom Factor =x2=;set crosshair 3;set hand 2;alias zoom zoomx3"
alias zoomx3 "fov 8;m_pitch 0.005;m_yaw 0.005;echo Zoom Factor =x3=;set crosshair 2;set hand 2;alias zoom zoomx0"
alias zoomx0 "fov 90;m_pitch 0.022;m_yaw 0.022;echo Zoom =Off=;set crosshair 3;set hand $hand_old;alias zoom zoomx1"